package com.haier.cre.commonframe.weight.dialog.listener;

import android.widget.RadioButton;

import com.orhanobut.dialogplus.DialogPlus;

/**
 * 项目名：CommonLibrary
 * 包 名：com.haier.cre.commonframe.weight.dialog.listener
 * 创建人：18002063
 * 日 期：2018/10/16
 * 简 述：DefaultDialogListener,Cancel中取消dialog显示
 */
public abstract class DefaultDialogListener implements DialogListener {

    public abstract void onSubmit(DialogPlus dialog, String result);

    @Override
    public void onSave(DialogPlus dialog) {
    }

    @Override
    public void onCancel(DialogPlus dialog) {
        dialog.dismiss();
    }

    @Override
    public void onClearPart(RadioButton rbClearPart, RadioButton rbClearAll) {
    }

    @Override
    public void onClearAll(RadioButton rbClearPart, RadioButton rbClearAll) {
    }
}
